<MyMDLabel@MDLabel>
    size_hint_y: None
    height: self.texture_size[1]


<MyBoxLayout@MDBoxLayout>
    adaptive_height: True


<KitchenSinkLabels@MDScreen>
    name: "labels"

    BoxLayout:
        orientation: "vertical"
        spacing: "10dp"

        Toolbar:
            id: toolbar

        ScrollView:

            MDGridLayout:
                cols: 1
                adaptive_height: True
                spacing: "10dp"
                padding: "10dp"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "Overline"
                        text: "Overline label"
                        halign: "center"

                    MyMDLabel:
                        font_style: "Caption"
                        text: "Caption label"
                        halign: "center"

                    MyMDLabel:
                        font_style: "Button"
                        text: "Button label"
                        halign: "center"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "Body1"
                        text: "Body1 label"
                        halign: "center"

                    MyMDLabel:
                        font_style: "Body2"
                        text: "Body2 label"
                        halign: "center"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "Subtitle1"
                        text: "Subtitle1 label"
                        halign: "center"

                    MyMDLabel:
                        font_style: "Subtitle2"
                        text: "Subtitle2 label"
                        halign: "center"

                MyMDLabel:
                    font_style: "H1"
                    text: "H1 label"
                    halign: "center"

                MyMDLabel:
                    font_style: "H2"
                    text: "H2 label"
                    halign: "center"

                MyMDLabel:
                    font_style: "H3"
                    text: "H3 label"
                    halign: "center"

                MyMDLabel:
                    font_style: "H4"
                    text: "H4 label"
                    halign: "center"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "H5"
                        text: "H5 label"
                        halign: "center"

                    MyMDLabel:
                        font_style: "H6"
                        text: "H6 label"
                        halign: "center"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "Body1"
                        text: "Primary color"
                        halign: "center"

                    MyMDLabel:
                        font_style: "Body1"
                        theme_text_color: "Secondary"
                        text: "Secondary color"
                        halign: "center"

                MyBoxLayout:

                    MyMDLabel:
                        font_style: "Body1"
                        theme_text_color: "Hint"
                        text: "Hint color"
                        halign: "center"
                    MyMDLabel:
                        font_style: "Body1"
                        theme_text_color: "Error"
                        text: "Error color"
                        halign: "center"

                MyMDLabel:
                    font_style: "Body1"
                    theme_text_color: "Custom"
                    text_color: (0, 1, 0, .4)
                    text: "Custom"
                    halign: "center"
